home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / gtksourceview-2.0 / language-specs / bibtex.lang < prev    next >
Encoding:
Extensible Markup Language  |  2010-08-16  |  2.9 KB  |  93 lines

  1. <?xml version="1.0"?>
  2. <!--
  3.  
  4.  Author: S├╕ren Hauberg <hauberg@gmail.com>
  5.  Copyright (C) 2009 S├╕ren Hauberg <hauberg@gmail.com>
  6.  
  7.  This library is free software; you can redistribute it and/or
  8.  modify it under the terms of the GNU Library General Public
  9.  License as published by the Free Software Foundation; either
  10.  version 2 of the License, or (at your option) any later version.
  11.  
  12.  This library is distributed in the hope that it will be useful,
  13.  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.  Library General Public License for more details.
  16.  
  17.  You should have received a copy of the GNU Library General Public
  18.  License along with this library; if not, write to the
  19.  Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  20.  Boston, MA 02111-1307, USA.
  21.  
  22. -->
  23. <language id="bibtex" _name="BibTeX" version="2.0" _section="Markup">
  24.   <metadata>
  25.     <property name="mimetypes">text/x-bibtex</property>
  26.     <property name="globs">*.bib</property>
  27.     <property name="line-comment-start">%</property>
  28.   </metadata>
  29.  
  30.   <styles>
  31.     <style id="entry-type" _name="Entries" map-to="def:keyword"/>
  32.     <style id="field"      _name="Field"   map-to="def:identifier"/>
  33.   </styles>
  34.  
  35.   <default-regex-options case-sensitive="false"/>
  36.   
  37.   <definitions>
  38.  
  39.     <context id="entry-type" style-ref="entry-type" class="no-spell-check">
  40.       <prefix>@</prefix>
  41.  
  42.       <keyword>book</keyword>
  43.       <keyword>article</keyword>
  44.       <keyword>booklet</keyword>
  45.       <keyword>conference</keyword>
  46.       <keyword>inbook</keyword>
  47.       <keyword>incollection</keyword>
  48.       <keyword>inproceedings</keyword>
  49.       <keyword>manual</keyword>
  50.       <keyword>mastersthesis</keyword>
  51.       <keyword>lambda</keyword>
  52.       <keyword>misc</keyword>
  53.       <keyword>phdthesis</keyword>
  54.       <keyword>proceedings</keyword>
  55.       <keyword>techreport</keyword>
  56.       <keyword>unpublished</keyword>
  57.     </context>
  58.  
  59.     <context id="field" style-ref="field" class="no-spell-check">
  60.       <keyword>author</keyword>
  61.       <keyword>title</keyword>
  62.       <keyword>journal</keyword>
  63.       <keyword>year</keyword>
  64.       <keyword>volume</keyword>
  65.       <keyword>number</keyword>
  66.       <keyword>pages</keyword>
  67.       <keyword>month</keyword>
  68.       <keyword>note</keyword>
  69.       <keyword>key</keyword>
  70.       <keyword>publisher</keyword>
  71.       <keyword>editor</keyword>
  72.       <keyword>series</keyword>
  73.       <keyword>address</keyword>
  74.       <keyword>edition</keyword>
  75.       <keyword>howpublished</keyword>
  76.       <keyword>booktitle</keyword>
  77.       <keyword>organization</keyword>
  78.       <keyword>chapter</keyword>
  79.       <keyword>school</keyword>
  80.       <keyword>institution</keyword>
  81.       <keyword>type</keyword>
  82.     </context>
  83.  
  84.     <context id="bibtex">
  85.       <include>
  86.         <context ref="latex:latex"/>
  87.         <context ref="entry-type"/>
  88.         <context ref="field"/>
  89.       </include>
  90.     </context>
  91.   </definitions>
  92. </language>
  93.